package com.lancoo.klgcourseware.entity.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by pengmi on 2020/12/15 15:01
 * Description:
 */
public class KlgCardDialogConfigBean implements Serializable {

    private boolean hasSave;
    private boolean isRetractCard;
    private boolean hasCustomBtn;
    private boolean hasNote;
    private String customBtnName;
    private String systemID;
    private int userType;


    public KlgCardDialogConfigBean() {
    }

    public KlgCardDialogConfigBean(int userType) {
        this.userType = userType;
    }

    private List<KlgCommonBean> klgCommonBeanList;


    public List<KlgCommonBean> getKlgCommonBeanList() {
        return klgCommonBeanList;
    }

    public void setKlgCommonBeanList(List<KlgCommonBean> klgCommonBeanList) {
        this.klgCommonBeanList = klgCommonBeanList;
    }

    public void setKlgCommon(KlgCommonBean klgCommon){
        if(klgCommon!=null){
            List<KlgCommonBean> ben=new ArrayList<>();
            ben.add(klgCommon);
            this.klgCommonBeanList=ben;
        }

    }

    public boolean isHasSave() {
        return hasSave;
    }

    public void setHasSave(boolean hasSave) {
        this.hasSave = hasSave;
    }


    public boolean isRetractCard() {
        return isRetractCard;
    }

    public void setRetractCard(boolean retractCard) {
        isRetractCard = retractCard;
    }

    public boolean isHasCustomBtn() {
        return hasCustomBtn;
    }

    public void setHasCustomBtn(boolean hasCustomBtn) {
        this.hasCustomBtn = hasCustomBtn;
    }

    public boolean isHasNote() {
        return hasNote;
    }

    public void setHasNote(boolean hasNote) {
        this.hasNote = hasNote;
    }

    public String getCustomBtnName() {
        return customBtnName;
    }

    public void setCustomBtnName(String customBtnName) {
        this.customBtnName = customBtnName;
    }

    public String getSystemID() {
        return systemID;
    }

    public void setSystemID(String systemID) {
        this.systemID = systemID;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }
}
